using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Ausy.Silverlight.Survey.QuestionModule.ViewParts
{
    /// <summary>
    /// Cette classe représente l'affichage du Question
    /// </summary>
    public partial class QuestionView : UserControl, IQuestionView
    {
        #region Model property

        /// <summary>
        /// Model presentation attaché à la vue QuestionView
        /// </summary>
        public IQuestionViewModel Model
        {
            get { return this.DataContext as IQuestionViewModel; }
            set { this.DataContext = value; }
        }

        #endregion

        #region Constructor

        /// <summary>
        /// Constructeur par défaut
        /// </summary>
        public QuestionView()
        {
            InitializeComponent();
        }

        #endregion
    }
}
